﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Win7Helper.Helper
{
    class StaticValue
    {
        private static bool printFlag = true;
        private static string PrintLogPath = ".\\安装日志.txt";
        private static String ThemeBin = ".\\Bin\\";
        private static String ThemeInofo = ThemeBin+ "ThemeInfo.xml";
        private static string publicity = "更多主题";
        private static string publicityLink = "https://acg12.com/category/pc-moe/win7-xp-moe/";
        private static string xmlText = Resource1.XmlDefaultNode;
        private static string errorTip = "未知";
        /// <summary>
        /// 是否输出日志
        /// </summary>
        public static bool PrintFlag { get => printFlag; set => printFlag = value; }
        /// <summary>
        /// 日志保存路径
        /// </summary>
        public static string PrintLogPath1 { get => PrintLogPath; set => PrintLogPath = value; }
        /// <summary>
        /// 放置数据文件的路径
        /// </summary>
        public static string ThemeBin1 { get => ThemeBin; set => ThemeBin = value; }
        /// <summary>
        /// 主题信息文件路径
        /// </summary>
        public static string ThemeInofo1 { get => ThemeInofo; set => ThemeInofo = value; }
        /// <summary>
        /// 右下角宣传信息跳转的页面
        /// </summary>
        public static string PublicityLink { get => publicityLink; set => publicityLink = value; }
        /// <summary>
        /// 右下角宣传信息的文字
        /// </summary>
        public static string Publicity { get => publicity; set => publicity = value; }
        /// <summary>
        /// 读取bin目录下的xml信息
        /// </summary>
        public static string XmlText { get => xmlText; set => xmlText = value; }
        /// <summary>
        /// 错误提示
        /// </summary>
        public static string ErrorTip { get => errorTip; set => errorTip = value; }
    }
}
